﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DimensionData.Data2;

namespace DimensionData.Data2.Template
{
    public class DocTemplate
    {
        /// <summary>
        /// 行维树
        /// </summary>
        public DTree YTree { get; set; }

        /// <summary>
        /// 列维树
        /// </summary>
        public DTree XTree { get; set; }

        /// <summary>
        /// 所设置的页面维度
        /// </summary>
        public List<PageDim> PageDims { get; set; }

        /// <summary>
        /// 版本信息
        /// </summary>
        public Version Version { get; set; }

        /// <summary>
        /// 将文档的模板定义，转化为具体的文档结构
        /// </summary>
        /// <returns></returns>
        public Doc.DDoc Compile()
        {
            return null;
        }
    }
}
